/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mercury.Entity.SystemModels;

namespace Mercury.Entity.DomainModels
{
    [Entity(TableCnName = "步骤与投放物料",TableName = "PlacingMaterials")]
    public partial class PlacingMaterials:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///工艺ID
       /// </summary>
       [Display(Name ="工艺ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int PIId { get; set; }

       /// <summary>
       ///投放物品ID
       /// </summary>
       [Display(Name ="投放物品ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string PlacingItemId { get; set; }

       /// <summary>
       ///投放物品
       /// </summary>
       [Display(Name ="投放物品")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string PlacingItems { get; set; }

       /// <summary>
       ///投放比例
       /// </summary>
       [Display(Name ="投放比例")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? PlacementRatio { get; set; }

       /// <summary>
       ///计算上限
       /// </summary>
       [Display(Name ="计算上限")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? UpperLimit { get; set; }

       /// <summary>
       ///计算上限
       /// </summary>
       [Display(Name ="计算上限")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? LowerLimit { get; set; }

       
    }
}